<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>opennars: nars.storage.Memory.processConcept</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">opennars
   &#160;<span id="projectnumber">1.5.5</span>
   </div>
   <div id="projectbrief">1.5-ish</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Packages</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d8/df4/classnars_1_1storage_1_1Memory_a83154b55b922c82b73931d4f22e3a590.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="contents">
<a class="anchor" id="a83154b55b922c82b73931d4f22e3a590"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void nars.storage.Memory.processConcept </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Select a concept to fire. </p>

<p>Definition at line <a class="el" href="../../db/d0c/Memory_8java_source.html#l00397">397</a> of file <a class="el" href="../../db/d0c/Memory_8java_source.html">Memory.java</a>.</p>

<p>References <a class="el" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">nars.io.IInferenceRecorder.append()</a>, <a class="el" href="../../df/d62/Concept_8java_source.html#l00404">nars.entity.Concept.fire()</a>, <a class="el" href="../../db/d0c/Memory_8java_source.html#l00542">nars.storage.Memory.getConcepts()</a>, <a class="el" href="../../db/d0c/Memory_8java_source.html#l00603">nars.storage.Memory.getCurrentConcept()</a>, <a class="el" href="../../db/d0c/Memory_8java_source.html#l00592">nars.storage.Memory.getCurrentTerm()</a>, <a class="el" href="../../db/d0c/Memory_8java_source.html#l00111">nars.storage.Memory.getRecorder()</a>, <a class="el" href="../../d6/dce/Bag_8java_source.html#l00178">nars.storage.Bag&lt; Type extends Item &gt;.putBack()</a>, <a class="el" href="../../db/d0c/Memory_8java_source.html#l00607">nars.storage.Memory.setCurrentConcept()</a>, and <a class="el" href="../../db/d0c/Memory_8java_source.html#l00596">nars.storage.Memory.setCurrentTerm()</a>.</p>

<p>Referenced by <a class="el" href="../../db/d0c/Memory_8java_source.html#l00346">nars.storage.Memory.workCycle()</a>.</p>
<div class="fragment"><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;                                  {</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a35bd424fe988c2d2ac364e9f57d27858.html#a35bd424fe988c2d2ac364e9f57d27858">setCurrentConcept</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().takeOut());</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">getCurrentConcept</a>() != null) {</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ae810a2e5d300b64d6aec58e1393a12cc.html#ae810a2e5d300b64d6aec58e1393a12cc">setCurrentTerm</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">getCurrentConcept</a>().getTerm());</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>().<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">append</a>(<span class="stringliteral">&quot; * Selected Concept: &quot;</span> + <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8e0d3146c07a1cc961d3ebc63317412d.html#a8e0d3146c07a1cc961d3ebc63317412d">getCurrentTerm</a>() + <span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a64b0b75c54e6882a28702d7810094656.html#a64b0b75c54e6882a28702d7810094656">putBack</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">getCurrentConcept</a>());   <span class="comment">// current Concept remains in the bag all the time</span></div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">getCurrentConcept</a>().<a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept_ae07576c8466ad65eeb61040e3f71cfc7.html#ae07576c8466ad65eeb61040e3f71cfc7">fire</a>();              <span class="comment">// a working workCycle</span></div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;        }</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;    }</div>
<div class="ttc" id="classnars_1_1entity_1_1Concept_ae07576c8466ad65eeb61040e3f71cfc7_html_ae07576c8466ad65eeb61040e3f71cfc7"><div class="ttname"><a href="../../d4/d22/classnars_1_1entity_1_1Concept_ae07576c8466ad65eeb61040e3f71cfc7.html#ae07576c8466ad65eeb61040e3f71cfc7">nars.entity.Concept.fire</a></div><div class="ttdeci">void fire()</div><div class="ttdoc">An atomic step in a concept, only called in Memory# processConcept. </div><div class="ttdef"><b>Definition:</b> <a href="../../df/d62/Concept_8java_source.html#l00404">Concept.java:404</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Bag_a64b0b75c54e6882a28702d7810094656_html_a64b0b75c54e6882a28702d7810094656"><div class="ttname"><a href="../../d9/d37/classnars_1_1storage_1_1Bag_a64b0b75c54e6882a28702d7810094656.html#a64b0b75c54e6882a28702d7810094656">nars.storage.Bag.putBack</a></div><div class="ttdeci">boolean putBack(Type oldItem)</div><div class="ttdoc">Put an item back into the itemTable. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00178">Bag.java:178</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ae810a2e5d300b64d6aec58e1393a12cc_html_ae810a2e5d300b64d6aec58e1393a12cc"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ae810a2e5d300b64d6aec58e1393a12cc.html#ae810a2e5d300b64d6aec58e1393a12cc">nars.storage.Memory.setCurrentTerm</a></div><div class="ttdeci">void setCurrentTerm(Term currentTerm)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00596">Memory.java:596</a></div></div>
<div class="ttc" id="interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459_html_acb473be6e5d774c10781bc8e74453459"><div class="ttname"><a href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">nars.io.IInferenceRecorder.append</a></div><div class="ttdeci">abstract void append(String s)</div><div class="ttdoc">Add new text to display. </div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27_html_a33af7b3d806d32c85390563fec3c6d27"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">nars.storage.Memory.getConcepts</a></div><div class="ttdeci">ConceptBag getConcepts()</div><div class="ttdoc">Concept bag. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00542">Memory.java:542</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec_html_afdfd74e7953d29059b2cc89b015ca8ec"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">nars.storage.Memory.getCurrentConcept</a></div><div class="ttdeci">Concept getCurrentConcept()</div><div class="ttdoc">The selected Concept. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00603">Memory.java:603</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1_html_aa4c7e1f5823d0404c0cab49b617968f1"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">nars.storage.Memory.getRecorder</a></div><div class="ttdeci">IInferenceRecorder getRecorder()</div><div class="ttdoc">Inference record text to be written into a log file. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00111">Memory.java:111</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a35bd424fe988c2d2ac364e9f57d27858_html_a35bd424fe988c2d2ac364e9f57d27858"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a35bd424fe988c2d2ac364e9f57d27858.html#a35bd424fe988c2d2ac364e9f57d27858">nars.storage.Memory.setCurrentConcept</a></div><div class="ttdeci">void setCurrentConcept(Concept currentConcept)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00607">Memory.java:607</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a8e0d3146c07a1cc961d3ebc63317412d_html_a8e0d3146c07a1cc961d3ebc63317412d"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a8e0d3146c07a1cc961d3ebc63317412d.html#a8e0d3146c07a1cc961d3ebc63317412d">nars.storage.Memory.getCurrentTerm</a></div><div class="ttdeci">Term getCurrentTerm()</div><div class="ttdoc">The selected Term. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00592">Memory.java:592</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d8/df4/classnars_1_1storage_1_1Memory_a83154b55b922c82b73931d4f22e3a590_a83154b55b922c82b73931d4f22e3a590_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</p>

<p><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d8/df4/classnars_1_1storage_1_1Memory_a83154b55b922c82b73931d4f22e3a590_a83154b55b922c82b73931d4f22e3a590_icgraph.svg" width="100%" height="300"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d7/d81/namespacenars.html">nars</a></li><li class="navelem"><a class="el" href="../../de/ddc/namespacenars_1_1storage.html">storage</a></li><li class="navelem"><a class="el" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a></li>
    <li class="footer">Generated on Sun Jan 10 2016 18:04:00 for opennars by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
